﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.AutoMapper;
using FwProject.Distribution.Dto;
using X.PagedList;

namespace FwProject.Distribution
{
    [AutoMap(typeof(DriverLine))]
    public interface IDriverLineAppService: IApplicationService
    {
        Task<Guid> Create(DriverLineInput input);

        Task Update(Guid id, DriverLineInput input);

        Task Delete(Guid id);

        Task<DriverLineDto> GetByIdAsync(Guid id);

        //DriverLineDto GetById(Guid id);

        Task<IPagedList<DriverLineDto>> GetPagedListAsync(int pageIdx, int pageSize, string name);
    }
}
